package com.visitcqut.service.impl;

import com.visitcqut.domain.Attractions;
import com.visitcqut.mapper.AttractionsMapper;
import com.visitcqut.service.AttractionsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @program: visitcqut
 * @description: 景点服务实现类
 * @author: Marlowe
 * @create: 2020-11-12 20:40
 **/
@Repository
public class AttractionsServiceImpl implements AttractionsService {

    @Autowired
    AttractionsMapper attractionsMapper;


    @Override
    public Attractions getAttraAttraction(int id) {
        return attractionsMapper.findById(id);
    }
}
